package org.qu.vo;

import java.sql.Timestamp;

/**
 * IsnsEventPhoto entity. @author MyEclipse Persistence Tools
 */

public class IsnsEventPhoto implements java.io.Serializable {

	// Fields

	private Integer photoId;
	private String photoSrc;
	private String photoName;
	private String photoInformation;
	private String photoThumbSrc;
	private Integer eventId;
	private Integer userId;
	private String userName;
	private Timestamp addTime;

	// Constructors

	/** default constructor */
	public IsnsEventPhoto() {
	}

	/** minimal constructor */
	public IsnsEventPhoto(String photoName, Integer eventId, Integer userId,
			String userName) {
		this.photoName = photoName;
		this.eventId = eventId;
		this.userId = userId;
		this.userName = userName;
	}

	/** full constructor */
	public IsnsEventPhoto(String photoSrc, String photoName,
			String photoInformation, String photoThumbSrc, Integer eventId,
			Integer userId, String userName, Timestamp addTime) {
		this.photoSrc = photoSrc;
		this.photoName = photoName;
		this.photoInformation = photoInformation;
		this.photoThumbSrc = photoThumbSrc;
		this.eventId = eventId;
		this.userId = userId;
		this.userName = userName;
		this.addTime = addTime;
	}

	// Property accessors

	public Integer getPhotoId() {
		return this.photoId;
	}

	public void setPhotoId(Integer photoId) {
		this.photoId = photoId;
	}

	public String getPhotoSrc() {
		return this.photoSrc;
	}

	public void setPhotoSrc(String photoSrc) {
		this.photoSrc = photoSrc;
	}

	public String getPhotoName() {
		return this.photoName;
	}

	public void setPhotoName(String photoName) {
		this.photoName = photoName;
	}

	public String getPhotoInformation() {
		return this.photoInformation;
	}

	public void setPhotoInformation(String photoInformation) {
		this.photoInformation = photoInformation;
	}

	public String getPhotoThumbSrc() {
		return this.photoThumbSrc;
	}

	public void setPhotoThumbSrc(String photoThumbSrc) {
		this.photoThumbSrc = photoThumbSrc;
	}

	public Integer getEventId() {
		return this.eventId;
	}

	public void setEventId(Integer eventId) {
		this.eventId = eventId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Timestamp getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

}